import java.util.ArrayList;
import java.util.List;
public class ShowList {
    private static List<Show> allShows = new ArrayList<>();
    public static List<Show> getAllShows() {
        return allShows;
    }
    public static void addShow(Show show) {
        allShows.add(show);
    }
    public static void removeShow(Show show) {
        allShows.remove(show);
    }
    public static Show findShowById(String showId) {
        for (Show show : allShows) {
            if (show.getShowId().equals(showId)) {
                return show;
            }
        }
        return null;
    }
}